package com.freewater.springboot.demo.ioc.qualifier.genericqualifier;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {

    @Bean
    public IntegerStore integerStore1() {
        return new IntegerStore();
    }

    @Bean
    public IntegerStore integerStore2() {
        return new IntegerStore();
    }

    @Bean
    public StringStore stringStore1() {
        return new StringStore();
    }

    @Bean
    public StringStore stringStore2() {
        return new StringStore();
    }

    @Bean
    public Shop shop() {
        return new Shop();
    }
}
